package io.github.iogogogo.redis.properties;

import lombok.Data;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created by tao.zeng on 2024/11/18.
 */
@Data
@Component
@ConfigurationProperties(prefix = "spring.data.redis")
public class RedisInstanceProperties {

    public final static String CONF_PREFIX = "spring.data.redis";

    private Map<String, RedisProperties> instances;

    private RedisProperties bizCommons;
}
